﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace FotoAnotSharp
{
    /// <summary>
    /// This class create simple panel with information 
    /// about project (program).
    /// </summary>
    public partial class AboutForm : Form
    {
        public AboutForm()
        {
            InitializeComponent();

            Icon = Application.OpenForms[0].Icon;
            labelVersion.Text += System.Reflection.Assembly.GetAssembly(this.GetType()).GetName().Version;
        }

        private void button1_Click(object sender, EventArgs e)
        {
            this.Close();
        }
    }
}
